package cn.com.zpark.listener;

import javax.servlet.annotation.WebListener;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

/**
 * @PackageName: cn.com.zpark.listener
 * @ClassName: ListenerDemo02
 * @Description:
 * @author: RZS
 * @date: 2021/11/17  18:09
 */
@WebListener
public class ListenerDemo02 implements HttpSessionListener {
    @Override
    public void sessionCreated(HttpSessionEvent se) {
        System.out.println("HttpSessio对象创建");
    }

    @Override
    public void sessionDestroyed(HttpSessionEvent se) {
        System.out.println("HttpSessiot对象销毁");
    }
}
